﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Consumer.aspx.cs" Inherits="points.Consumer" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="head" runat="server">
    <title>Consumer</title>
    <link rel="Stylesheet" type="text/css" href="Styles/Site.css"/>
</head>
<body>
    <form id="frmMain" runat="server">
    <div>
    <asp:SqlDataSource ID="DSMain" runat="server"
            ConnectionString="<%$ ConnectionStrings:POINTS_PROD %>" />

        <asp:GridView ID="GridView1" runat="server" 
            AutoGenerateColumns="False" CellPadding="3" DataSourceID="DSMain" 
            GridLines="Vertical" AllowPaging="True" 
            AllowSorting="True" BackColor="White" BorderColor="#999999" 
            BorderStyle="None" BorderWidth="1px" ShowFooter="True" 
            ShowHeaderWhenEmpty="True" Width="512px">
                                    <AlternatingRowStyle BackColor="#DCDCDC" />
                                    <Columns>
                                        <asp:BoundField DataField="Date" HeaderText="Date" SortExpression="Date" />
                                        <asp:BoundField DataField="Name1" HeaderText="Name1" SortExpression="Name1" />
                                        <asp:BoundField DataField="Name2" HeaderText="Name2" SortExpression="Name2" />
                                        <asp:BoundField DataField="Points" HeaderText="Points" 
                                            SortExpression="Points" />
                                        <asp:BoundField DataField="Info" HeaderText="Info" SortExpression="Info" />
                                    </Columns>
                                    <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
                                    <HeaderStyle BackColor="#000084" Font-Bold="True" ForeColor="White" />
                                    <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
                                    <RowStyle BackColor="#EEEEEE" ForeColor="Black" />
                                    <SelectedRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
                                    <SortedAscendingCellStyle BackColor="#F1F1F1" />
                                    <SortedAscendingHeaderStyle BackColor="#0000A9" />
                                    <SortedDescendingCellStyle BackColor="#CAC9C9" />
                                    <SortedDescendingHeaderStyle BackColor="#000065" />
        </asp:GridView>
    </div>
    </form>
</body>
</html>
